package com.meida.module.bus.client.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.NoArgsConstructor;

/**
 * 预约状态
 *
 * @author jzy
 * @date 2021/7/9
 */
@NoArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AppointmentStateEnum {

    waitCheck(1, "待审核"),
    checkSuccess(2, "审核成功"),
    checkFail(3, "审核失败");

    private Integer appointmentState;

    @ApiModelProperty("描述")
    private String label;

    AppointmentStateEnum(Integer appointmentState, String label) {
        this.appointmentState = appointmentState;
        this.label = label;
    }

    public Integer getAppointmentState() {
        return appointmentState;
    }

    public void setAppointmentState(Integer appointmentState) {
        this.appointmentState = appointmentState;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
